<?php

include '../models///nameclass//_model.php';

if (isset($_GET['f'])) {
    $//nameclass// = new //NAMECLASS//();
    if ($_GET['f'] == "find_all") {        
        $//nameclass//->findAll($_GET['from'], $_GET['to']);
    }
    
    if ($_GET['f'] == "find") {        
        $//nameclass//->find($_GET['id']);
    }
    
    if ($_GET['f'] == "save") {        
        if ($_GET['id'] == "") {
            $//nameclass//->create(//list_ws_save//);
        } else {
            $//nameclass//->update($_GET['id'], //list_ws_save//);
        }
    }

    if ($_GET['f'] == "delete") {        
        $//nameclass//->delete($_GET['id']);
    }
    
    //list_ws_find//
}
?>